package com.old.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 86166
 */
@Data
public class Oldman extends BaseEntity{

    @ApiModelProperty("老人名字")
    @TableField("name")
    private String name;

    @ApiModelProperty("老人年龄")
    @TableField("age")
    private int age;

    @ApiModelProperty("业余爱好")
    @TableField("hobby")
    private String hobby;

}
